/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package transport;

/**
 *
 * @author Miguel
 */
public class Clock{
    int time;
    
    public Clock(){
        time = 0;
    }
    
    public int add(){
        return time++;
    }
    
    public static int random(int min, int max){
        double temp =  Math.random() * (max - min + 1);
        return min + (int)temp;
    }
}
